const int buttonPin = 5;
void setup() {
  // put your setup code here, to run once:
 Serial.begin(9600);
 pinMode(buttonPin, INPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
  int sensorValue = analogRead(A0);
  int   buttonState = digitalRead(buttonPin);
  //Serial.println(sensorValue);
  Serial.println(buttonState);
  delay(1000);
}
